package com.tan.lighting.disruptor.snapshot.utils;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * Description:
 * User: tan
 * DateTime: 2017/10/13 11:52
 */
public class PropertyUtil {

    public static Properties loadProps(String filePath) throws IOException {
        Properties props = new Properties();
        InputStream in = new FileInputStream(filePath);
        props.load(in);
        return props;
    }
}
